package com.briup.sms.dao;

import com.briup.sms.entity.CategoryGender;
import com.briup.sms.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface UserMapper {
    List<User> findUserInfo(String username);

    User findById(Integer id);

    void updateUserLock(User user);

    Integer countUser();

    List<CategoryGender> countGender();
}
